package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.ChannelStatusResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author: pengxin
 * @create: 2024-12-21 10:36
 * @Version 1.0
 **/
@NoArgsConstructor
@Data
public class ChannelStatusParam extends BaseParam {

    private static final long serialVersionUID = -1171580156155678603L;


    private Integer orgType = 1;
    private List<OrgsStructResult> orgs;

    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return ChannelStatusResult.class;
    }

    @NoArgsConstructor
    @Data
    public static class OrgsStructResult {
        private String orgCode;
        private List<ChannelsStructResult> channels;



        @NoArgsConstructor
        @Data
        public static class ChannelsStructResult {
            private String code;
            private Integer domainId;
            private String platformCode;
        }
    }
}
